package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统应用
 *
 * @author Yancy
 * @since 2024-04-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_application")
@ApiModel(value = "SysApplication对象", description = "系统应用")
public class SysApplication extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("应用ID")
    @TableField("app_id")
    private String appId;

    @ApiModelProperty("应用名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("应用描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("应用图标")
    @TableField("icon")
    private Long icon;

    @ApiModelProperty("发布状态：0->未发布；1->已发布")
    @TableField("publish_status")
    private Integer publishStatus;


    public static final String NAME = "name";

    public static final String DESCRIPTION = "description";

    public static final String ICON = "icon";

    public static final String APP_ID = "app_id";

    public static final String PUBLISH_STATUS = "publish_status";

}
